const express = require('express');

const router = express.Router();

router.get('/user', (req, res) => {
    res.send('ok');
})

router.post('/user', (req, res) => {
    res.send({
        status: 0,
        msg: '请求post接口成功！',
        data: req.body
    })
})
module.exports = router